Interview Questions and Answer
Options:
a. They directly process incoming requests
b. Handles user inputs and interactions
c. Must handle business logic of an application
d. Should take care the user interface / HTML rendered to browser
Reveal Answer
Options:
a. System.Web.UI.Controller
b. System.Web.MvcController
c. System.Web.Mvc.Controller
d. System.Web.UIController
Reveal Answer
Options:
a. ViewResult performs an HTTP redirection to a specifed URL
b. ViewResult serializes a given ViewData object to JSON format
c. ActionResult is an abstract class while ViewResult derives from ActionResult class
d. ViewResult returns a file to the client, which is provided by a Stream while an ActionResult performs an HTTP redirection to a specifed URL
Reveal Answer
Options:
a. The return will result in an error
b. /Views/Home/Index.cshtml
c. /Views/Home/Home.cshtml
d. /Views/Home/Default.cshtml
Reveal Answer
Options:
a. dynamic
b. object
c. ViewDataDictionary
d. ViewDictionary
Reveal Answer
Options:
a. Application
b. ViewData
c. ViewBag
d. TempData
Reveal Answer
Options:
a. RequireSSL
b. RequireSecured
c. RequireHttps
d. RequireHttp
Reveal Answer
Options:
a. Only Get
b. Only Post
c. Both Get and Post
d. Gives runtime error
Reveal Answer
Options:
a. PostHttp
b. HttpPost
c. PostForm
d. FormPost
Reveal Answer
Options:
a. Authorize
b. Authenticate
c. AuthenticateUser
d. AuthoriseUser
Reveal Answer
Options:
a. ValidateForgeryToken
b. ValidateAntiForgeryToken
c. Validate
d. CrossSiteSubmission(false)
Reveal Answer
Options:
a. ActionMethod
b. Controllers
c. Models
d. Views
Reveal Answer
Options:
a. beforeFilter()
b. afterFilter()
c. ActionFilters
d. ControlFilter()
Reveal Answer
Bestdotnet google plus